reproducible-tmp-names
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Tue, 27 Jun 2017 11:50:03 +0000 (12:50 +0100)
committerClint Adams <clint@debian.org>
Tue, 27 Jun 2017 11:50:03 +0000 (12:50 +0100)
commit8273c817576fe7d38ffb2f9b600abbb7e42b2940
treef4de4c3e3ef2a30340fae149f670c6cc0030204b
parente67180409c9d9bd945ee8eb0f6185bc8051b8d46
reproducible-tmp-names

This is an attempt to make GHC build reproducible. The name of .c files may end
up in the resulting binary (in the debug section), but not the directory.

Instead of using the process id, create a hash from the command line arguments,
and assume that is going to be unique.

Gbp-Pq: Name reproducible-tmp-names
compiler/main/SysTools.hs